package com.zking.ssm.service;

import com.zking.ssm.model.HotelSellerEmployee;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelSellerEmployeeService {
    int deleteByPrimaryKey(Long id);

    int insert(HotelSellerEmployee record);

    int insertSelective(HotelSellerEmployee record);

    @Transactional(readOnly = true)
    HotelSellerEmployee selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelSellerEmployee record);

    int updateByPrimaryKey(HotelSellerEmployee record);

    @Transactional(readOnly = true)
    List<HotelSellerEmployee> selectAll(HotelSellerEmployee hotelSellerEmployee, PageBean pageBean);
}